package stock;

import java.time.LocalDate;

public class Test5 {
 
	
		public static LocalDate getPreviousDate() {
	        LocalDate currentDate = LocalDate.now();
	        return currentDate.minusDays(120);
	    }

	    public static void main(String[] args) {
	        System.out.println("Today's Date: " + LocalDate.now().toString());
	        System.out.println("Date 120 days ago: " + getPreviousDate().toString());
	    }
	
 
}
